package com.example.demo.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by e on 2018/4/16 上午11:48
 *
 * @author <a href="https://eregg.com">eregg</a>
 */
@Entity
public class Elevator {

    @Id
    @Column(name = "elevatorid")
    private Long elevatorId;//bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
    private String address;//varchar(128) DEFAULT NULL COMMENT '电梯所在地址',
    private String lat;//varchar(32) DEFAULT NULL COMMENT '纬度值',
    private String lng;//varchar(32) DEFAULT NULL COMMENT '经度值',

    public Long getElevatorId() {
        return elevatorId;
    }

    public void setElevatorId(Long elevatorId) {
        this.elevatorId = elevatorId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }
}
